home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt - The Text ScrolledText convenience creation function SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/Text.h> WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt( WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt, SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee, AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt, CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt); VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt creates an instance of a Text widget that is contained within a ScrolledWindow. The ScrolledWindow parent is created managed. All ScrolledWindow subarea widgets are automatically created by this function. The ID returned by this function is that of the Text widget (not the ScrolledWindow widget). Use this widget ID for all operations on the Text widget. Use the widget ID of the Text widget's parent for all operations on the ScrolledWindow. To obtain the ID of the ScrolledWindow widget associated with the Text widget, use the Xt Intrinsics XXXXttttPPPPaaaarrrreeeennnntttt function. The name of the ScrolledWindow created by this function is formed by concatenating the letters _S_Wonto the end of the _n_a_m_e specified in the parameter list. The Text widget defaults to single-line text edit; therefore, no ScrollBars are displayed. The Text resource XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee must be set to XXXXmmmmMMMMUUUULLLLTTTTIIII____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT to display the ScrollBars. The results of placing a Text widget inside a ScrolledWindow when the Text's XXXXmmmmNNNNeeeeddddiiiittttMMMMooooddddeeee is XXXXmmmmSSSSIIIINNNNGGGGLLLLEEEE____LLLLIIIINNNNEEEE____EEEEDDDDIIIITTTT are undefined. All arguments to either the Text or the ScrolledWindow widget can be specified at creation time with this function. Changes to initial position and size are sent only to the ScrolledWindow widget. Other resources are sent to the Text or the ScrolledWindow widget as appropriate. Note that the result of providing the XXXXmmmmNNNNddddeeeessssttttrrrrooooyyyyCCCCaaaallllllllbbbbaaaacccckkkkresource in the creation _a_r_g_l_i_s_t is unspecified. The application should use the XXXXttttAAAAddddddddCCCCaaaallllllllbbbbaaaacccckkkk function to add callbacks to the appropriate widget (Text or ScrolledWindow) after creating it. This function forces the following initial values for ScrolledWindow resources: Page 1 (printed 10/3/02) XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSccccrrrroooolllllllleeeeddddTTTTeeeexxxxtttt((((3333XXXX)))) +o XXXXmmmmNNNNssssccccrrrroooolllllllliiiinnnnggggPPPPoooolllliiiiccccyyyy is set to XXXXmmmmAAAAPPPPPPPPLLLLIIIICCCCAAAATTTTIIIIOOOONNNN____DDDDEEEEFFFFIIIINNNNEEEEDDDD. +o XXXXmmmmNNNNvvvviiiissssuuuuaaaallllPPPPoooolllliiiiccccyyyy is set to XXXXmmmmVVVVAAAARRRRIIIIAAAABBBBLLLLEEEE. +o XXXXmmmmNNNNssssccccrrrroooollllllllBBBBaaaarrrrDDDDiiiissssppppllllaaaayyyyPPPPoooolllliiiiccccyyyy is set to XXXXmmmmSSSSTTTTAAAATTTTIIIICCCC. +o XXXXmmmmNNNNsssshhhhaaaaddddoooowwwwTTTThhhhiiiicccckkkknnnneeeessssssss is set to 0 (zero). _p_a_r_e_n_t Specifies the parent widget ID _n_a_m_e Specifies the name of the created widget _a_r_g_l_i_s_t Specifies the argument list _a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in the argument list (_a_r_g_l_i_s_t) For a complete definition of Text and its associated resources, see XXXXmmmmTTTTeeeexxxxtttt(3). RRRREEEETTTTUUUURRRRNNNN Returns the Text widget ID. RRRREEEELLLLAAAATTTTEEEEDDDD XXXXmmmmSSSSccccrrrroooolllllllleeeeddddWWWWiiiinnnnddddoooowwww(3) and XXXXmmmmTTTTeeeexxxxtttt(3). Page 2 (printed 10/3/02)